package Ctr;
import DBLayer.DBConnection;
import DBLayer.DBSupplier;

public class CtrSupplier {
	
	
	public CtrSupplier(int supID) {
		DBSupplier dbs = new DBSupplier();
		CtrContactPerson ctrcp = new CtrContactPerson();
		ctrcp.findContactPerson(supID);
		
		
		try {
			DBConnection.startTransaction();
			dbs.findSupplier(supID);
			DBConnection.commitTransaction();
		} 
		catch (Exception e) {
			e.printStackTrace();
			DBConnection.rollbackTransaction();
		}
		
	}
	
	
}
